package com.api.API.CodeLab.CodeShellDebugDataGetter;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.io.IOException;

/**
 * @Description :
 * @Author :
 * @Date : 2021/12/19
 */
@FeignClient("CodeShellDebugDataGetter")
public interface CodeShellDebugDataGetterAPI {
    @GetMapping("/codeshell/readfile/{filename}")
    String[] getData(@PathVariable String filename) throws IOException;
}
